﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DesignPatternDemoCApp.Structured.DecoratorPattern
{
    /// <summary>
    /// 具有移动功能的材料，提供移动功能，相当于ConcreteDecoratorC类型
    /// </summary>
    public class MoveDecorator : DecorationStrategy
    {
        public MoveDecorator(House house) : base(house)
        {

        }

        public override void Renovation()
        {
            base.Renovation();

            Console.WriteLine("增加房子的移动能力，方便转移位置");
        }
    }
}
